package com.zjcode.cdcer.mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

import com.zjcode.cdcer.model.SysOrg;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface SysOrgMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysOrg record);

    int insertSelective(SysOrg record);

    SysOrg selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysOrg record);

    int updateByPrimaryKey(SysOrg record);

    List<SysOrg> findByParentId(@Param("parentId")Long parentId);

    SysOrg findByUserId(@Param("id")String id);

    SysOrg selectOrgInfoByName(@Param("institutionName") String institutionName);
}
